package org.jeecg.modules.business.entity;

import java.io.Serializable;
import java.io.UnsupportedEncodingException;
import java.util.Date;
import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.TableLogic;
import lombok.Data;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import org.jeecgframework.poi.excel.annotation.Excel;
import org.jeecg.common.aspect.annotation.Dict;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * @Description: bus_team
 * @Author: jeecg-boot
 * @Date:   2023-04-04
 * @Version: V1.0
 */
@Data
@TableName("bus_team")
@Accessors(chain = true)
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="bus_team对象", description="bus_team")
public class BusTeam implements Serializable {
    private static final long serialVersionUID = 1L;

	/**key*/
	@TableId(type = IdType.ASSIGN_ID)
    @ApiModelProperty(value = "key")
    private String id;
	/**预约id*/
	@Excel(name = "预约id", width = 15)
    @ApiModelProperty(value = "预约id")
    private String bookingOrderId;
    /**入住客单id*/
    @Excel(name = "入住客单id", width = 15)
    @ApiModelProperty(value = "入住客单id")
    private String livingOrderId;
    /**是否删除*/
	@Excel(name = "是否删除", width = 15)
    @ApiModelProperty(value = "是否删除")
    private Integer isDelete;
	/**创建时间*/
	@JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd")
    @DateTimeFormat(pattern="yyyy-MM-dd")
    @ApiModelProperty(value = "创建时间")
    private Date createTime;
	/**createUser*/
	@Excel(name = "createUser", width = 15)
    @ApiModelProperty(value = "createUser")
    private String createUser;
	/**订单创建类型，1预约2入住*/
	@Excel(name = "订单创建类型，1预约2入住", width = 15)
    @ApiModelProperty(value = "订单创建类型，1预约2入住")
    private Integer orderType;

	private String hotelId;
	private Integer sortIndex;

	// 1团队2联房
	private Integer relType;
}
